﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Exhibition.Dao.ViewModel;

namespace Exhibition.WebService
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“ICommService”。
    [ServiceContract]
    public interface ICommService
    {
        [OperationContract]
        int DelColorModel(int id);
        [OperationContract]
        ColorTypeModel GetColorById(int id);
        [OperationContract]
        FloorModel GetFloorById(int id);
        [OperationContract]
        List<StandModel> GetStandList(string key);
        [OperationContract]
        int SaveColorModel(ColorTypeModel mdl);
        [OperationContract]
        int SaveFloorModel(FloorModel flm);
        [OperationContract]
        int SaveStand(StandModel stmdl);
        [OperationContract]
        List<ColorTypeModel> GetColorList();
    }
}
